package cn.com.utt.common.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.utt.common.mapper.UserRoleMapper;
import cn.com.utt.common.service.UserRoleService;
import cn.com.utt.common.vo.UserRole;

@Service("userRoleService")
public class UserRoleServiceImpl implements UserRoleService{
	@Autowired
	private UserRoleMapper userRoleMapper;

	@Override
	public void save(UserRole userRole) {
		userRoleMapper.save(userRole.getRid(),userRole.getUid());
	}

}
